package kr.hkit.androidcomplete02.ch01;

import kr.hkit.androidcomplete02.R;
import kr.hkit.androidcomplete02.R.array;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.Spinner;

public class SpinnerEx extends Activity {
	ArrayAdapter<CharSequence> adapter;
	
/*	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.scale_type_test);
		
		Spinner spin = (Spinner) findViewById(R.id.spinner_spinner);

		adapter = ArrayAdapter.createFromResource(this, R.array.fruits, android.R.layout.simple_spinner_dropdown_item);
		adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
		
		spin.setAdapter(adapter);
		
		spin.setOnItemClickListener(new OnItemClickListener() {
	

			@Override
			public void onItemClick(AdapterView<?> parent, View view,
					int position, long id) {
			if(!mInitSpinner){
				mInitSpinner = true;
				return;
			}
			
			public void on
				
			});
	}*/
}
